package my.lotu.bean;

/**
 * Meal entity. @author MyEclipse Persistence Tools
 */

public class Meal implements java.io.Serializable {

	// Fields

	private Integer id;
	private Double cost;
	private Double calorie;
	private String foodId;
	private String type;

	// Constructors

	/** default constructor */
	public Meal() {
	}

	/** full constructor */
	public Meal(Double cost, Double calorie, String foodId, String type) {
		this.cost = cost;
		this.calorie = calorie;
		this.foodId = foodId;
		this.type = type;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getCost() {
		return this.cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	public Double getCalorie() {
		return this.calorie;
	}

	public void setCalorie(Double calorie) {
		this.calorie = calorie;
	}

	public String getFoodId() {
		return this.foodId;
	}

	public void setFoodId(String foodId) {
		this.foodId = foodId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}